package com.zqx.templatemethod.specifictemplatemethod;

import com.zqx.templatemethod.abstracttemplatemethod.Account;
import lombok.extern.slf4j.Slf4j;

/**
 * description: 具体子类
 * @author zqx
 * @date 2018/09/04
 */
@Slf4j
public class CurrentAccount extends Account {

    //覆盖父类的抽象方法
    @Override
    public void calculateInterest() {
        log.info("【活期账户】按照活期利率计算!");
    }
}
